package com.fxkj.cloud.drms.domain.ts.service;

import com.fxkj.cloud.dbs.common.model.kv.TsKvEntry;
import com.google.common.util.concurrent.ListenableFuture;

import java.util.List;
import java.util.UUID;

/**
 * <p>description: </p>
 * @author ww
 * @date 2025/3/31 10:30
 */
public interface TimeseriesService {

    /**
     * 获取指定key的最新属性
     * @param deviceId
     * @param attributeKeys
     * @return
     */
    ListenableFuture<List<TsKvEntry>> queryLastValueForString(UUID deviceId, List<String> attributeKeys);
}
